﻿@model Transport.Models.LogOnModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "Đăng nhập vào quản trị";
}
<div class="error">
    <div id="system-message-container">
        <dl id="system-message">
            <dd class="error message">
                @Html.ValidationSummary(true)
            </dd>
         </dl>
    </div>
</div>
<div class="login">
    @using (Html.BeginForm("Logon", "Account", FormMethod.Post, new { id = "frmLogin" }))
    {
		<fieldset>
            <input type="hidden" name="ReturnUrl" value="@Request.QueryString["ReturnUrl"]">
			<div class="login-fields">
                <label id="username-lbl" for="username" class="">User Name</label>		
                @Html.TextBoxFor(m => m.UserName, new { placeholder = "User name", @class = "validate-username" })			
                @*<input name="username" id="username" class="validate-username" size="25" type="text">*@
            </div>
			<div class="login-fields">
                <label id="password-lbl" for="password" class="">Password</label>	
                @Html.PasswordFor(m => m.Password, new { placeholder = "Password", @class = "validate-password" })				
                @*<input name="password" id="password" value="" class="validate-password" size="25" type="password">*@
            </div>
			<button type="submit" class="button">Log in</button>	
            <span id="add-new-address-loading-progress" style="padding-right: 10px; padding-top: 20px;display:none;">
                <img src="../Content/images/waiting.gif" alt="Common.Wait...">
            </span>
        </fieldset>
    }
</div>